
#ifndef SYSMSGDLG_H
#define SYSMSGDLG_H

#pragma once
#include "..\Tree\SysMsgTree.h"
#include "..\UI\BtnST.h"
/////////////////////////////////////////////////////////////////////////////
// CSysMsgDlg dialog

class CSysMsgDlg : public CDialog
{
// Construction
public:
	CSysMsgDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSysMsg)
	enum { IDD = IDD_SYSMSG };
	//}}AFX_DATA
protected:
	CSysMsgTree	m_MsgTree;
//    int m_SysType;
	void displayPage(int page, BOOL showStatus = TRUE);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSysMsg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL
	int msgCount;
	int pageCount;
	int curPage;

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSysMsg)
	virtual BOOL OnInitDialog();
	afx_msg void EM_ReSize(WPARAM wParam, LPARAM lParam);
	afx_msg void OnBtnPrev();
	afx_msg void OnBtnNext();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	CButtonST m_btnignore;
	CButtonST m_btnopenall;
};

#endif // SYSMSGDLG_H
